package jy.hibernate.beans;
/**
 * Predict_value entity
 * @author tingzi
 *
 */
public class Predict_value implements java.io.Serializable{

	private static final long serialVersionUID = -459906025350592454L;
	//Fields 
	private Integer predict_valueid;//自增长id
	private String  predict_name;//预测名字
	private Client client;//商品所属客户
	private Product_information product;//哪类商品
	private Integer predict_value=0;//预警值

	
	public Integer getPredict_valueid() {
		return predict_valueid;
	}
	public void setPredict_valueid(Integer predict_valueid) {
		this.predict_valueid = predict_valueid;
	}
	public String getPredict_name() {
		return predict_name;
	}
	public void setPredict_name(String predict_name) {
		this.predict_name = predict_name;
	}
	public Client getClient() {
		return client;
	}
	public void setClient(Client client) {
		this.client = client;
	}
	public Product_information getProduct() {
		return product;
	}
	public void setProduct(Product_information product) {
		this.product = product;
	}
	public Integer getPredict_value() {
		return predict_value;
	}
	public void setPredict_value(Integer predict_value) {
		this.predict_value = predict_value;
	}
	/** full constructor */
	public Predict_value(Integer predict_valueid, String predict_name,
			Client client, Product_information product, Integer predict_value) {
		super();
		this.predict_valueid = predict_valueid;
		this.predict_name = predict_name;
		this.client = client;
		this.product = product;
		this.predict_value = predict_value;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "predict_name:"+predict_name+"/tclient_name:"+client.getUser_name()+
		        "product_name:"+product.getPro_name()+"predict_value:"+predict_value;
	}
	


}
